package jmlee.basic;

public class J02_Expression01 {

	public static void main(String[] args) {
		double x = 2.5;
		double y = 1.5;
		int m = 18;
		int n = 4;
		
		double  aa, bb, cc, dd;
		
		aa = x+n*y-(x+n)*y;
		bb = m/n+m%n;
		cc = 5*x-n/5;
		dd = 1-(1-(1-(1-(1-n))));
				
		System.out.println("x+n*y-(x+n)*y      = "+aa);
		System.out.println("m/n+m%n            = "+bb);
		System.out.println("5*x-n/5            = "+cc);
		System.out.println("1-(1-(1-(1-(1-n))))= "+dd);
	}    

}
